CC=gcc
CFLAGS += -c -g  -Wall -Werror -Werror=maybe-uninitialized
LDFLAGS += -ldl -lpthread

OBJS = QmiWwanCM.o GobiNetCM.o main.o MPQMUX.o QMIThread.o util.o udhcpc.o
all:quectel-CM

quectel-CM : $(OBJS)
	$(CC)  $(INC) -g -o $@ $(OBJS) $(LDFLAGS) 

clean:
	rm *.o -f
	rm quectel-CM -rf

%.o: %.c *.h
	$(CC) $(CFLAGS) $< -o $@

